package com.chinacoal.microservice.pojo;

import com.baomidou.mybatisplus.annotations.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 * @author zhuliang
 * @version V1.0
 * @Description: 中国行政区划分，即省市区街道4级划分
 * @date 2020-11-06 17：22
 */
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "中国行政区划分，即省市区街道4级划分")
public class CcmsSmartleasingArea implements Serializable {
    /**
     * ID
     */
    @TableId(value = "id")
    @ApiModelProperty(value = "主键id")
    private Integer id;

    /**
     * 地区名称
     */
    @ApiModelProperty(value = "地区名称")
    private String areaname;

    /**
     * 父级地区ID
     */
    @ApiModelProperty(value = "父级地区ID")
    private Integer parentid;

    /**
     * 地区简称
     */
    @ApiModelProperty(value = "地区简称")
    private String shortname;

    /**
     * 电话区号
     */
    @ApiModelProperty(value = "电话区号")
    private Integer areacode;

    /**
     * 邮政编码
     */
    @ApiModelProperty(value = "邮政编码")
    private Integer zipcode;

    /**
     * 拼音
     */
    @ApiModelProperty(value = "拼音")
    private String pinyin;

    /**
     * 经度
     */
    @ApiModelProperty(value = "经度")
    private String lng;

    /**
     * 纬度
     */
    @ApiModelProperty(value = "纬度")
    private String lat;

    /**
     * 地区层级
     */
    @ApiModelProperty(value = "地区层级")
    private Byte level;

    /**
     * 地区编号，体现级别
     */
    @ApiModelProperty(value = "地区编号，体现级别")
    private String number;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Byte sort;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAreaname() {
        return areaname;
    }

    public void setAreaname(String areaname) {
        this.areaname = areaname;
    }

    public Integer getParentid() {
        return parentid;
    }

    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }

    public String getShortname() {
        return shortname;
    }

    public void setShortname(String shortname) {
        this.shortname = shortname;
    }

    public Integer getAreacode() {
        return areacode;
    }

    public void setAreacode(Integer areacode) {
        this.areacode = areacode;
    }

    public Integer getZipcode() {
        return zipcode;
    }

    public void setZipcode(Integer zipcode) {
        this.zipcode = zipcode;
    }

    public String getPinyin() {
        return pinyin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }

    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public Byte getLevel() {
        return level;
    }

    public void setLevel(Byte level) {
        this.level = level;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Byte getSort() {
        return sort;
    }

    public void setSort(Byte sort) {
        this.sort = sort;
    }

    public CcmsSmartleasingArea(Integer id, String areaname, Integer parentid) {
        this.id = id;
        this.areaname = areaname;
        this.parentid = parentid;
    }
}